﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoubleLinkedList
{
    class Program
    {
        
        static void Main(string[] args)
        {
            DLL<int> list = new DLL<int>();
            Console.WriteLine(list.Contains(10));
            list.AddFirst(10);
            list.AddFirst(20);            
            list.AddFirst(30);
            //list.AddLast(50);
            Console.WriteLine(list.Contains(20));
            Console.WriteLine(list.Contains(50));
            list.Clear();
            Console.WriteLine(list.Contains(50));

            Console.ReadKey();
        }
    }
}
